﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Đăng nhập hệ thống</title>
</head>
<body style="background-color: #7E9DCC">
    <form id="form1" runat="server">   
        <div align="center" style="padding-top: 100px;" >
            <table border="0" cellpadding="4" cellspacing="2" style="text-align: left;
                background-color: #E3EAEB; font-size: 12px; font-family: Arial;">
                <tr>
                    <td colspan="2" style="background-color: #1C5E55; color: White; font-weight: bold;
                        font-size: 15px;">
                       Đăng nhập hệ thống</td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Tên đăng nhập:</b> </td>
                    <td>
                        <asp:TextBox ID="txtUser" runat="server" Width="171px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtUser"
                            ErrorMessage="(*)" SetFocusOnError="True"></asp:RequiredFieldValidator><span style="color: #ff0000"></span></td>
                </tr>
                <tr>
                    <td align="right">
                         <b>Mật khẩu:</b> </td>
                    <td>
                        <asp:TextBox ID="txtPass" runat="server" TextMode="Password" Width="171px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPass"
                            ErrorMessage="(*)" SetFocusOnError="True"></asp:RequiredFieldValidator><span style="color: #ff0000"></span></td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td valign="top">
                        <asp:Button ID="btnDangNhap" runat="server" Text="Đăng nhập" OnClick="btnDangNhap_Click" />                       
                        <input id="Button2" type="button" value="Hủy bỏ" onclick="javascript:window.location='../Default.aspx';" style="width: 83px" />                        
                         <br /> <asp:Label ID="lblThongBao" runat="server" Visible="False" Font-Bold="False" ForeColor="Red"></asp:Label></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
